package cn.ztuo.bitrade.service;

import cn.ztuo.bitrade.dao.IeoMentDao;
import cn.ztuo.bitrade.entity.IeoMent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IeoMentService {

    @Autowired
    private IeoMentDao ieoMentDao;

    public List<IeoMent> findAll(){
        return ieoMentDao.findAll();
    }

    public IeoMent save(IeoMent ieoMent){
        return ieoMentDao.save(ieoMent);
    }
}
